<?php
/* @var $this MeanOfEgressController */
/* @var $model MeanOfEgress */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mean-of-egress-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'readily_accessible'); ?>
		<?php echo $form->textField($model,'readily_accessible'); ?>
		<?php echo $form->error($model,'readily_accessible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'obstructed'); ?>
		<?php echo $form->textField($model,'obstructed'); ?>
		<?php echo $form->error($model,'obstructed'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'travel_distance_within_limit'); ?>
		<?php echo $form->textField($model,'travel_distance_within_limit'); ?>
		<?php echo $form->error($model,'travel_distance_within_limit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dead_end_within_limit'); ?>
		<?php echo $form->textField($model,'dead_end_within_limit'); ?>
		<?php echo $form->error($model,'dead_end_within_limit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'adequate_illumination'); ?>
		<?php echo $form->textField($model,'adequate_illumination'); ?>
		<?php echo $form->error($model,'adequate_illumination'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'proper_rating_of_illumination'); ?>
		<?php echo $form->textField($model,'proper_rating_of_illumination'); ?>
		<?php echo $form->error($model,'proper_rating_of_illumination'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'panic_hardware_operational'); ?>
		<?php echo $form->textField($model,'panic_hardware_operational'); ?>
		<?php echo $form->error($model,'panic_hardware_operational'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'door_swing_in_the_direction_of_exit'); ?>
		<?php echo $form->textField($model,'door_swing_in_the_direction_of_exit'); ?>
		<?php echo $form->error($model,'door_swing_in_the_direction_of_exit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'door_open_easily'); ?>
		<?php echo $form->textField($model,'door_open_easily'); ?>
		<?php echo $form->error($model,'door_open_easily'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'self_closure_operational'); ?>
		<?php echo $form->textField($model,'self_closure_operational'); ?>
		<?php echo $form->error($model,'self_closure_operational'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'building_with_mezzanine'); ?>
		<?php echo $form->textField($model,'building_with_mezzanine'); ?>
		<?php echo $form->error($model,'building_with_mezzanine'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mezzanine_with_proper_exit'); ?>
		<?php echo $form->textField($model,'mezzanine_with_proper_exit'); ?>
		<?php echo $form->error($model,'mezzanine_with_proper_exit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'corridor_and_aisle_of_sufficient_size'); ?>
		<?php echo $form->textField($model,'corridor_and_aisle_of_sufficient_size'); ?>
		<?php echo $form->error($model,'corridor_and_aisle_of_sufficient_size'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'exit_detail_id'); ?>
		<?php echo $form->textField($model,'exit_detail_id'); ?>
		<?php echo $form->error($model,'exit_detail_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->